package Message.Public
{
    import Framework.Serialize.*;

    public class SActive extends Object
    {
        public var id:Number;
        public var code:int;
        public var name:String;
        public var loopType:int;
        public var status:int;
        public var startDt:Date;
        public var endDt:Date;
        public var content:String;

        public function SActive()
        {
            
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeLong(this.id);
            param1.writeInt(this.code);
            param1.writeString(this.name);
            param1.writeInt(this.loopType);
            param1.writeInt(this.status);
            param1.writeDate(this.startDt);
            param1.writeDate(this.endDt);
            param1.writeString(this.content);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.id = param1.readLong();
            this.code = param1.readInt();
            this.name = param1.readString();
            this.loopType = param1.readInt();
            this.status = param1.readInt();
            this.startDt = param1.readDate();
            this.endDt = param1.readDate();
            this.content = param1.readString();
            
        }

    }
}
